package com.itheima.wangyc.service.impl;

import com.itheima.wangyc.mapper.GoodesMapper;
import com.itheima.wangyc.pojo.Goods;
import com.itheima.wangyc.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wangyoucheng
 * @date 2025/9/20
 * @description TOD0
 */
@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    private GoodesMapper goodesMapper;

    @Override
    public List<Goods> queryList(String categoryId, String name, Long pageNo, Long pageSize) {
        return goodesMapper.queryList(categoryId,name,pageNo,pageSize);
    }
}
